<?php
require '../phpsimcaps.php';
$vector = new LLVector3(1,2,3);
$rot = new LLQuaternion(4,5,6,7);
print $vector->multiply($rot); // Works
print "\n";
print $rot->multiply(new LLQuaternion(7,9,10,1)); // Works correctly
print "\n";
print $vector->add(new LLVector3(11,12,13)); // Works
print "\n";
print $vector->subtract(new LLVector3(3,2,1)); // Works
print "\n";
print LLUUID::random(); // Works
print "\n";
print new LLUUID();
print "\n";
try
{
	print new LLUUID("invalid"); // Fails correctly
}
catch(Exception $e)
{
	print "Error: ".$e->getMessage(); // Has correct error
}
print "\n";	
?>
